﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JR.Trc.MessageCenter.Lib.Impls
{
    public class MessageSenderAdapter : IMessageSenderAdapter
    {
        private IMessageSender sender = null;
        public MessageSenderAdapter(IMessageSender  sender)
        {
            this.sender = sender;
        }
        public void Send()
        {
            if (sender != null)
            {
                sender.SendMsg();
            }
        }
    }
}
